<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
</head>
<body>
    <div class="root">
        <h3>{{time | timeFormater}}</h3>
    </div>
    
    
</body>
<script>
    new Vue({
        el:".root",
        data: {    
                time:16211561377603
        },

        filters:{
            timeFormater:function(value){
                return  new Date(value).toLocaleString()
            }
        }
      
     
    })
</script>
</html>